package com.dyna.core.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 全局异常事件驱动对象
 * @author zhoucaiwang
 * @date 2024/1/10
 */
@Getter
public class DynaGlobalExceptionEvent extends ApplicationEvent {

    private final DynaGlobalExceptionEntity dynaGlobalExceptionEntity;

    public DynaGlobalExceptionEvent(DynaGlobalExceptionEntity source) {
        super(source);
        this.dynaGlobalExceptionEntity = source;
    }

}
